import time
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
# 2.打开浏览器（创建浏览器驱动对象）
driver=webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")
driver.find_element(by=By.ID,value="userA").send_keys("admin")
driver.find_element(by=By.ID,value="passwordA").send_keys("123456")
time.sleep(3)
driver.quit()